import math
aa=[11,12,31,45]
print (aa[:])
def text(name,value):
    """
    *这个是第一个程序
    *
    """
    print(name+":"+value)
    print("I love you")
text("123","aaaab")
print(text.__doc__)
print(help(text))
for x in range(1,10):
    for y in range(1,x+1):
        print(x*y, end=" ")
    print("")
    print("----------")

def test(x):
    if x==0:
        return 0
    if x==1 or x==-1 :
        return 1
    if x==2 or x==-2:
        return 1
    if x > 0:
        return test(x-1)+test(x-2)
    else:
        return test(x+1)+test(x+2)
   

fruits = ['banana', 'apple',  'mango']
for index in range(len(fruits)):
   print ('当前水果 :', fruits[index])